package haoyou.csnf.manager.module.pm.controller.admin.professionaltitle.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import com.alibaba.excel.annotation.*;
import haoyou.csnf.manager.framework.excel.core.annotations.DictFormat;
import haoyou.csnf.manager.framework.excel.core.convert.DictConvert;

@Schema(description = "管理后台 - 系统职称 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ProfessionalTitleRespVO {

    @Schema(description = "职称ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "21444")
    @ExcelProperty("职称ID")
    private Long id;

    @Schema(description = "职称名称", example = "张三")
    @ExcelProperty("职称名称")
    private String tieName;

    @Schema(description = "职称等级")
    @ExcelProperty("职称等级")
    private Integer tieLevel;

    @Schema(description = "职称类型", example = "0")
    @ExcelProperty(value = "职称类型", converter = DictConvert.class)
    @DictFormat("pm_professional_title") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private String tieType;

}